package com.wit.WEB.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: java-web-group
 * @description: 页面控制器，用于重定向
 * @author: KingTeng
 * @create: 2022-03-06 19:21
 **/
@Controller
public class PageContreller {
    @RequestMapping("/foreToLoginPage")
    public String toLoginPage(){
        return  "fore/login";
    }

    @RequestMapping("/foreToRegisterPage")
    public String toRegisterPage() {
        return "fore/register";
    }

}
